JDK 24 Security Enhancements

07 Apr 2025

JDK 24 was released on March 18, 2025! As with my previous blogs, I have compiled a list of what I think are the most interesting and useful security enhancements in this release. I have also grouped them into appropriate categories (crypto, PKI, etc) which should make it easier to find out what has changed in each specific area. The JDK 24 release notes also contain further details on these and other enhancements.

This is a significant release for Java Security as it contains two new core quantum-resistant cryptographic algorithms, ML-KEM for key encapsulation, and ML-DSA for digital signatures. It also includes a new Preview API for Key Derivation Functions, which will be an important building block for subsequent post-quantum cryptography work. This release also permanently disables the Security Manager.

In addition, JDK 24 includes one other important feature that improves security but is not part of the security libraries area:

Table of Contents

  1. Crypto
  2. PKI
  3. TLS
  4. Security Manager
  5. Miscellaneous

Crypto

PKI

TLS

Security Manager

Miscellaneous